﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
    public class knowledge_type
    {
        /// <summary>
        /// 用于标识文章分类的id
        /// </summary>
        public string type_id { get; set; }
        /// <summary>
        /// 所属上级
        /// </summary>
        public string parent_id { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string type_name { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime addtime { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string adduser { get; set; } 
        /// <summary>
        /// 排序编号
        /// </summary>
        public int? sort { get; set; }
    }

    public class knowledge_type_forsearch
    {
        public string type_id { get; set; }

        public string parent_id { get; set; }

        public string type_name { get; set; }

        public List<knowledge_type_forsearch> kid_list { get; set; }
    }

    public enum share_params
    {
        未设置 = 0,
        四小时 = 1,
        一天 = 2,
        三天 = 3,
        一周 = 4,
        两周 = 5,
        一个月 = 6,
        三个月 = 7 
    }
}
